﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;


namespace FamilyJobsUI.Models
{
    public class UserPoints_Index_Model
    {
        public IEnumerable<UserPoints_Index_RowModel> Items {get; set;}
    }

    public class UserPoints_Index_RowModel
    {
        [DisplayName("PointID")]
        public int up_ID { get; set; }
        [DisplayName("Points")]
        public int up_Points { get; set; }
        [DisplayName("Explanation")]
        public string up_Reason { get; set; }
        [DisplayName("Date/time")]
        public DateTime up_CreatedOn { get; set; }
        [DisplayName("Point Reason")]
        public string pt_Name { get; set; }
        [DisplayName("Who")]
        public string user_Name { get; set; }

    }
}